package org.wzl._360mallbackend.service;

import org.wzl._360mallbackend.dto.ShoppingCartDTO;

import java.util.List;

public interface ShoppingCartService {
    List<ShoppingCartDTO> getShoppingCartByUserId(Integer userId);

    /**
     * 通过商品id添加到用户的购物车里
     *
     * @param commodityId
     * @param userId
     */
    void addOneComodityShoppingCartById(Integer commodityId, Integer userId);
}
